<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="../css/detail.css">
    <link rel="stylesheet" href="/css/footer.css">
    <link rel="stylesheet" href="/css/header.css">
    <title>商品详情页</title>
    <script src="../libs/requirejs/require.min.js" data-main="../js/detail"></script>
</head>
<body>
    <header></header>
    <div>商品详情内容</div>

<div class="container"></div>

<script type="text/html" id="photo-template">
    <img src="{{photos[0].image}}" data-zoom-image="{{photos[0].image}}" class="small-image" />

    <div id="gallery">
    {{each photos photo}}
    <a href="#" data-zoom-image="{{photo.url}}" data-image="{{photo.url}}">
        <img class="thumb-image" src="{{photo.url}}" alt="">
    </a>
    {{/each}}
    </div>
</script>
    <footer></footer>
</body>
</html>